/* 全局样式 */
.address-container {
  background-color: #fff; 
  min-height: 100vh;
  font-family: sans-serif; 
}

/* 头部样式 */
.address-header {
  background-color: #e93b3d; 
  color: #fff;
  padding: 0.5rem 0.75rem; 
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.back-icon {
  font-size: 5rem; 
  cursor: pointer;
  color: #fff;
}
.page-title {
  font-size: 4rem; 
  font-weight: bold;
  margin: 0;
}
.add-icon {
  font-size: 5rem; 
  cursor: pointer;
  color: #fff;
}

/* 地址列表样式 */
.address-list {
  margin: 0.5rem; 
  margin-top: 3rem;
}
.address-item {
  background-color: #fff;
  border-bottom: 1px solid #f2f2f2; 
  padding: 0.5rem 0; 
  display: flex;
  justify-content: space-between;
  align-items: flex-start; 
  margin-top: 8rem;
}

/* 左侧信息区 */
.address-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem; 
}
.name-phone {
  display: flex;
  gap: 1rem; 
  align-items: center;
}
.name {
  font-size: 4rem; 
  font-weight: bold;
  color: #333;
  margin-right: 10rem;
}
.phone {
  font-size:4rem; 
  color: #333;
}
.address-detail {
  font-size: 4rem; 
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.3rem; 
  margin-top: 3rem;
}
.icon-map {
  font-family: "iconfont"; 
  color: #999;
}

/* 默认地址标签 */
.default-tag {
  font-size: 4rem; 
  color: #e93b3d;
  background-color: #fef0f0;
  padding: 0.2rem 0.4rem; 
  border-radius: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.2rem; 
   margin-top: 3rem;
}
.icon-check {
  font-family: "iconfont"; 
  font-size: 4rem; 
  
}

/* 右侧操作区 */
.address-actions {
  display: flex;
  gap: 0.5rem; 
  align-items: center;
  margin-top: 17rem;
}
.edit-btn,
.delete-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 4rem; 
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.2rem; 
}
.icon-edit {
  font-family: "iconfont"; 
}
.icon-delete {
  font-family: "iconfont"; 
}
.edit-btn:hover,
.delete-btn:hover {
  color: #e93b3d;
}